GtkSpinner: set a suitable role for the accessible
authorMatthias Clasen <mclasen@redhat.com>
Thu, 23 Jun 2011 22:31:22 +0000 (18:31 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 5 Jul 2011 20:08:07 +0000 (16:08 -0400)
The consensus of the accessibility team was that this is
an animation. Update tests to match.

gtk/gtkspinner.c
tests/a11y/spinner.txt

index 306eeb8f9eacb93bd0b16fcb840ec65b654d0c4b..43070be54857a6713f84748a5dd0838bf4da5374 100644 (file)
@@ -285,6 +285,7 @@ gtk_spinner_accessible_initialize (AtkObject *accessible,
 
   atk_object_set_name (accessible, C_("throbbing progress animation widget", "Spinner"));
   atk_object_set_description (accessible, _("Provides visual indication of progress"));
+  atk_object_set_role (accessible, ATK_ROLE_ANIMATION);
 }
 
 static void
index 35a91b2abe880a7fe05f3b523f6b93b80d261e38..21bdd948b791c7b34b8971adec1f1588583c40e9 100644 (file)
@@ -7,7 +7,7 @@ window1
   layer: window
   alpha: 1
   spinner1
-    "unknown"
+    "animation"
     parent: window1
     index: 0
     name: Spinner